* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
  outline: none;
}

body {
  transition: all 1500ms ease-in-out;
  background: linear-gradient(to bottom, #1b2226, #013a45 50%, #011eb3 100%);
  // 背景图片
  // flex布局
  display: flex;
  justify-content:center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
  // // 使用Grid布局
  // display: grid;
  // // 垂直居中
  // place-items: center;
  // // 100vh
  // height: 100vh;
  // 渐变背景
}
#login{
  transition: all 1500ms ease-in-out;
  color: #011eb3;
  font-weight: 700;
  // 倾斜背景
  background:linear-gradient( 40deg  , #f8f8f800 10%, #16c0e2 20%,#f8f8f800 10%) repeat 0 0 / 100% 200% ;
  border-radius: 10px;
  text-align: center;
  // line-height: 50px;
  width: 100vw;
  height: auto; // 调整按钮高度为40px，与&-btn一致
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  animation: loger 3s linear infinite;

  background-size:cover ;
}
@keyframes loger {  
  0% {
    background-position-y:100vh;
  }
  0%{
    background-position-x:100vw;
  }
}
#login:hover {
  transition: all 1500ms ease-in-out;
  color: #00eeff;
  width: 100vw;
  font-weight: 700; 
  background: #051457;
  border: double 0.5rem #84f5ff;
  text-shadow: #00eeff 0px 0px 10px;
  box-shadow: #00eeff 0px 0px 10px 0px inset;
  
}
#login input{
  transition: all 1500ms ease-in-out;
  color: #0189b3;
  font-weight: 700;
  background-color: #ffffff;
  border-radius: 10px;
  text-align: center;
  // line-height: 50px;
  width: 100vw;
  height: 40px; // 调整按钮高度为40px，与&-btn一致
  padding: 10px;
  margin: 10px;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  background: #1c2757;
  cursor: pointer;
  // 虚线边框
}
#login input:hover{
  transition: all 1500ms ease-in-out;
  color: #0189b3;
  border: dashed 1rem #00eeff;
filter: drop-shadow(#00eeff 0px 0px 10px ); 
 font-weight: 700;


  // 虚线边框
}
// 登录动画
@keyframes login {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}
#login button {
  transition: all 1500ms ease-in-out;
  color: #15b1c6;
  font-weight: 700;
  background-color: #0e224a;
  border-radius: 10px;
  text-align: center;
  // line-height: 50px;
  width: 100vw;
  height: 40px; // 调整按钮高度为40px，与&-btn一致
  padding: 10px;
  margin: 10px;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  animation: log 3s linear infinite;
  background-size:200% ;
}

#login button:hover {
  transition: all 1500ms ease-in-out;
  color: #00eeff;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #051457;
  text-align: center;
  border: dashed 0.5rem #84f5ff;
  text-shadow: #00eeff 0px 0px 10px  ;
  box-shadow: #00eeff 0px 0px 10px 0px inset;
  cursor: pointer;
}

// nav作为置顶的导航栏
.nav {
  transition: all 1500ms ease-in-out;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #ffffff;
  color: #011eb3;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  // z-index: 1000;
  width: 100vw;
  height: 10vh;
 
}
.nav {
  transition: all 1500ms ease-in-out;
  width: 100vw;
  height: 10vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #ffffff;
  color: #3f18eb;
  font-weight: 700;
  font-size: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  list-style: none;
}

.nav li {
  transition: background-color 700ms ease-in-out, color 700ms ease-in-out, font-size 700ms ease-in-out;
  display: inline-flex;
  width: 25%;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #3f18eb;
  font-weight: 700;
  font-size: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  cursor: pointer;
  height: 10vh;
}

.nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #3f18eb;
  text-decoration: none;
  transition: color 700ms ease-in-out, font-size 700ms ease-in-out;
}

.nav li:hover {
  background: #3f18eb;
  color: #ffffff;
  font-size: 25px;
}

.nav li:hover a {
  color: #ffffff;
  font-size: 25px;
}

